<h2>New table</h2>

<%= error_messages_for :table %>

<% form_for :table, :url => { :action => :create_table} do |f| %>
  <p>
    <b>Panel</b><br />
    <%= f.text_field :panel_id %>
  </p>

  <p>
    <b>Tablename</b><br />
    <%= f.text_field :tableName %>
  </p>

  <p>
    <b>Width</b><br />
    <%= f.text_field :width %>
  </p>

  <p>
    <b>Height</b><br />
    <%= f.text_field :height %>
  </p>

  <p>
    <b>Row</b><br />
    <%= f.text_field :row %>
  </p>

  <p>
    <b>Summary</b><br />
    <%= f.text_field :summary %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', tables_path %>
